#include "SortingProvider.h"

void SortingProvider::BubbleSort(int arr[], int n)
    {
        for(int i = n-1; i>0; i--)
            for(int j = 0; j<i; j++)
            {
                if( arr[i] < arr[j] )
                {
                    int temp = arr[i];
                    arr[i] = arr[j];
                    arr[j] = temp;
                }
            }
    }
